
    /********************************************************/
    /*                                                      */
    /*                                                      */
    /*         Copyright (C), 1993  SEIKO EPSON Corp.       */
    /*         ALL RIGHTS RESERVED                          */
    /*                                                      */
    /*                                                      */
    /*  file name : clock.c                                 */
    /*                                                      */
    /*  Revision history                                    */
    /*      93/12/17    first release       S.Akaiwa        */
    /*      97/3/17	modified	    T.Katahira	    */
    /*			change function declaration	    */
    /*					to the ANSI style   */
    /*                                                      */
    /********************************************************/

#ifdef      UNIX
#include    "time.h"
#else
#include    <time.h>
#endif

clock_t
clock( void )

    /********************************************************/
    /*                                                      */
    /*  This is dummy function.                             */
    /*  The clock function returns count cycles after power */
    /*  on, ICE or ICD.                                     */
    /*                                                      */
    /*      RETURN  Count cycles after power on, ICE or ICD */
    /*                                                      */
    /*  <ANSI>                                              */
    /*      The clock function returns determines the       */
    /*      processor time used.                            */
    /*                                                      */
    /*      RETURN  Processor time used                     */
    /*                                                      */
    /********************************************************/

    {

     return (clock_t)sys_clock();    /* return count cycles */

    }

